﻿using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using IterationLife.Extensions.Enums;
using Util.Applications;

namespace IterationLife.PlatformBackEnd.AppServices.Dtos.Systems {
    /// <summary>
    /// 附件数据传输对象
    /// </summary>
    [DataContract]
    public class AttachmentDto : DtoBase {

        /// <summary>
        /// 大小
        /// </summary>
        [DataMember]
        public string SizeText { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [DataMember]
        public string Address { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        public FileType? FileType { get; set; }

        /// <summary>
        /// 标签名
        /// </summary>
        public string LabelName { get; set; }

    }
}
